Component({
  methods: {
    goHome: function() {
      wx.navigateTo({
        url: '/pages/index/index'
      });
    },

    goHistory: function() {
      wx.navigateTo({
        url: '/pages/history/history'
      });
    },

    goSettings: function() {
      wx.navigateTo({
        url: '/pages/settings/settings'
      });
    }
  }
});
